Skip to content

Add Requesty as a provider - #3

Open
Thibaultjaigu wants to merge 1 commit into
DestinyLinker:mainfrom
Thibaultjaigu:add-requesty-provider
Open

Add Requesty as a provider#3
Thibaultjaigu wants to merge 1 commit into
DestinyLinker:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Adds requesty as an OpenAI-compatible provider, mirroring the existing OpenRouter provider.

Requesty (https://requesty.ai) is an OpenAI-compatible LLM router — base URL https://router.requesty.ai/v1, provider/model naming, Authorization: Bearer auth via REQUESTY_API_KEY. It reuses the same OpenAIClient OpenRouter uses.

Changes:

  • mingli_bench/models/factory.py: requesty in the client _registry (→ OpenAIClient, OpenAI-compatible) and the install-hint map.
  • mingli_bench/utils/config.py: a requesty config block (REQUESTY_API_KEY, REQUESTY_BASE_URL default https://router.requesty.ai/v1).
  • README.md + .env.example: Requesty env config and --platform accepts list.

ast.parse passes on both edited Python files.

I work at Requesty. This mirrors the existing OpenRouter provider as closely as possible. Happy to adjust or close it if it's not a fit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant